package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.TaskTagAutoDevice;
import com.xjscrm.console.param.operatePlan.TaskTagAutoDeviceQuery;
import com.xjscrm.console.vo.TaskTagAutoDeviceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskTagAutoDeviceMapper {
    int addTaskTagAutoDevice(TaskTagAutoDevice taskTagAutoDevice);


    List<TaskTagAutoDevice> taskTagAutoDeviceList(TaskTagAutoDeviceQuery taskTagAutoDeviceQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

    List<TaskTagAutoDeviceVo> getTaskTagAutoDeviceList(TaskTagAutoDeviceQuery taskTagAutoDeviceQuery);


    TaskTagAutoDevice getById(@Param("id") Long id, @Param("merId") Long merId);

    void updateTaskTagAutoDevice(TaskTagAutoDevice taskTagAutoDevice);

}
